<?php
session_start();
if (isset($_SESSION["PHPSESSID"]))
echo $_SESSION["PHPSESSID"];

echo session_id();
echo "\n";
echo SID;	//宏定义？
echo "\n";
echo session_name();
echo "\n";
echo $_SERVER["REMOTE_ADDR"];
echo "\n";
echo $_SESSION['user_agent'];
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";

var_dump ($_SESSION);
var_dump ($_COOKIE);

?>

